<div class="page_title">
    <h2 class="fl">{$pageTitle}</h2>
</div>
<section>
<div id="main" style="width: 100%;height:500px;"></div>
</section>
 <script type="text/javascript">
 $(function(){
    // 指定图表的配置项和数据
    var option = {
        title: {
            text: '折线统计图演示'
        },
        tooltip: {},
        legend: {
            data:['视频直播']
        },
        xAxis: {
            data: ["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子","衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]
        },
        yAxis: {},
        series: [{
            name: '视频直播',
            type: 'bar',
            data: [5, 20, 36, 10, 10, 20,5, 20, 36, 10, 10, 20]
        }],
        toolbox:{
            feature:{
                mark:{
                    
                },
                magicType:{
                    type:['line','bar'],
                    
                },
                saveAsImage:{
                    
                },
            }
        }
    };

    // 使用刚指定的配置项和数据显示图表。
    showEcharts(document.getElementById('main'),option);
 })
</script>